package com.ruoyi.course.dto;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;

/**
 * 批量添加课程安排DTO
 * 
 * @author ruoyi
 * @date 2025-01-16
 */
public class BatchAddScheduleDto {
    
    /** 班级ID */
    @NotNull(message = "班级ID不能为空")
    private Long claId;
    
    /** 课程ID */
    @NotNull(message = "课程ID不能为空")
    private Long lessonId;
    
    /** 具体日期，支持单日期或日期范围 */
    @NotBlank(message = "具体日期不能为空")
    private String specificDate;
    
    /** 时间段 */
    @NotBlank(message = "时间段不能为空")
    private String timePeriod;
    
    /** 是否检查冲突 */
    private Boolean checkConflict = true;
    
    /** 是否跳过已有课程 */
    private Boolean skipExisting = true;

    public Long getClaId() {
        return claId;
    }

    public void setClaId(Long claId) {
        this.claId = claId;
    }

    public Long getLessonId() {
        return lessonId;
    }

    public void setLessonId(Long lessonId) {
        this.lessonId = lessonId;
    }

    public String getSpecificDate() {
        return specificDate;
    }

    public void setSpecificDate(String specificDate) {
        this.specificDate = specificDate;
    }

    public String getTimePeriod() {
        return timePeriod;
    }

    public void setTimePeriod(String timePeriod) {
        this.timePeriod = timePeriod;
    }

    public Boolean getCheckConflict() {
        return checkConflict;
    }

    public void setCheckConflict(Boolean checkConflict) {
        this.checkConflict = checkConflict;
    }

    public Boolean getSkipExisting() {
        return skipExisting;
    }

    public void setSkipExisting(Boolean skipExisting) {
        this.skipExisting = skipExisting;
    }

    @Override
    public String toString() {
        return "BatchAddScheduleDto{" +
                "claId=" + claId +
                ", lessonId=" + lessonId +
                ", specificDate='" + specificDate + '\'' +
                ", timePeriod='" + timePeriod + '\'' +
                ", checkConflict=" + checkConflict +
                ", skipExisting=" + skipExisting +
                '}';
    }
} 